/*
 * Copyright (c) 2008-2012
 * LANIT
 * All rights reserved.
 *
 * This product and related documentation are protected by copyright and
 * distributed under licenses restricting its use, copying, distribution, and
 * decompilation. No part of this product or related documentation may be
 * reproduced in any form by any means without prior written authorization of
 * LANIT and its licensors, if any.
 *
 * $Id$
 */
package ru.lanit.bpm.ipa.timesheet.dao;

import org.springframework.dao.DataAccessException;
import ru.lanit.bpm.ipa.timesheet.model.Employee;

public interface EmployeeDao {
    void add(Employee employee) throws DataAccessException;

    void addEmployeeToOD(String employeeName, String operationalDirectionName, String roleName) throws DataAccessException;

    Employee findByName(String name) throws DataAccessException;
}
